package cn.lb.test.domain;

import java.math.BigDecimal;
import java.util.Date;
import cn.lb.basic.domain.BaseDomain;

/**
 * <p>
 * 
 * </p>
 *
 * @author lb
 * @since 2022-12-21
 */
public class Contract extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private Long id;
    private String sn;
    private Long orderId;
    private String orderSn;
    private Long customerId;
    private String customerName;
    private BigDecimal price;
    /**
     * 定金
     */
    private BigDecimal deposit;
    private String content;
    private String description;
    private Date createTime;
    private Date updateTime;
    private Integer state;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getDeposit() {
        return deposit;
    }

    public void setDeposit(BigDecimal deposit) {
        this.deposit = deposit;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Contract{" +
        ", id=" + id +
        ", sn=" + sn +
        ", orderId=" + orderId +
        ", orderSn=" + orderSn +
        ", customerId=" + customerId +
        ", customerName=" + customerName +
        ", price=" + price +
        ", deposit=" + deposit +
        ", content=" + content +
        ", description=" + description +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", state=" + state +
        "}";
    }
}
